
package system.communication;

/**
 * Defines the different message types based on the prefix of the message
 * @author elliot
 */
public enum MessageType
{
    BLOCK
    {
        @Override
        public String toString()
        {
            return "Block";
        }
    },
    SWITCH
    {
        @Override
        public String toString()
        {
            return "Switch";
        }
    },
    HANDCONTROL
    {
        @Override
        public String toString()
        {
            return "Hand Control";
        }
    },
    SENSOR
    {
        @Override
        public String toString()
        {
            return "Sensor";
        }
    },
    LED
    {
        @Override
        public String toString()
        {
            return "LED";
        }
    },
    MESSAGE
    {
        @Override
        public String toString()
        {
            return "Generic Message";
        }
    }
}
